/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import java.util.List;

import model.Account;
import model.Module;
import model.Thematic;

/**
 *
 * @author mehdi
 */
public interface Idao {
 public void addcompte(Account account);
 public void updatecompte(Account account);
 public void deletecompte(Long pk);
 public Account findcompte(Long pk);
 public Account findcompte(String login);
 public List<Account> findcompteAll();
 
 public void addtheme(Thematic theme);
 public void updatetheme(Thematic theme);
 public Thematic findtheme(Long pk);
 public void deletetheme(Long pk );
 public List<Thematic> findthemeAll();
 public Thematic findtheme(String titre); 
 public void affecterModulTheme(Long num,Long code);
 
 public void addmodule(Module module);
 public void updatemodule(Module module);
 public Module findmodule(Long pk);
 public void deletemodule(Long pk );
 public List<Module> findmoduleAll();
 public Module findmodule(String titre); 
 
 
    
}
